package com.zsc.wxapp.entity;

import java.time.LocalDate;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "$tableInfo.comment")
public class User {

    @ApiModelProperty(value = "账号")
    private Long userId;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "用户头像")
    private String profilePhotoUrl;

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "权限，1、2为终端用户， 3、4为业务层用户，5为管理员")
    private String permission;

    @ApiModelProperty(value = "是否vip")
    private Integer isVip;

    @ApiModelProperty(value = "vip结束时间")
    private Date vipEndTime;

    @ApiModelProperty(value = "店铺名字/ 如果是其他角色，角色名")
    private String shopName;

    @ApiModelProperty(value = "店铺人的名字，稽查人员的名字")
    private String principalName;

    @ApiModelProperty(value = "账号状态")
    private Integer isValid;

    @ApiModelProperty(value = "客户标识，用于连接外部数据库表")
    private String customUuid;

    @ApiModelProperty(value = "注册时间")
    private Date registerTime;

    @ApiModelProperty(value = "上次上传数据的时间")
    private LocalDate uploadDate;

    @ApiModelProperty(value = "奖励vip天数")
    private Integer vipRewardDays;

    @ApiModelProperty(value = "用户所在地区")
    private String area;

    @ApiModelProperty(value = "累计拍照次数")
    private Integer photoTimes;

    @ApiModelProperty(value = "价签维护次数")
    private Integer maintenanceTimes;

    @ApiModelProperty(value = "用户提交次数")
    private Integer submitTimes;

    @ApiModelProperty(value = "用户打印次数")
    private Integer printTimes;

    @ApiModelProperty(value = "用户分类")
    private String custType;

}

